package com.bootdo.market.dao;

import com.bootdo.market.domain.ChannelDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * @author jinse
 * @email market@jinse.com
 * @date 2019-03-28 14:19:08
 */
@Mapper
public interface ChannelDao {

	ChannelDO get(Integer id);
	
	List<ChannelDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ChannelDO channel);
	
	int update(ChannelDO channel);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
